package ${servicePath};
import ${queryPath}.${classInfo.className}Query;
import ${modePath}.${classInfo.className}Co;
import com.bicai.common.dto.Response;
import java.util.Map;

/**
 * @ClassName ${classInfo.className}
 * @Description ${classInfo.classComment}
 * @Author ${authorName}
 * @Email ${authorEmail}
 * @Date '${.now?string('yyyy-MM-dd HH:mm:ss')}'
 */
public interface ${classInfo.className}Service {

    /**
    * 新增
    */
    Response<String> insert(${classInfo.className}Query  ${classInfo.className?uncap_first}Query);

    /**
    * 删除
    */
    Response<String> delete(int id);

    /**
    * 更新
    */
    Response<String> update(${classInfo.className}Query  ${classInfo.className?uncap_first}Query);

    /**
    * Load查询
    */
    Response<${classInfo.className}Co> load(int id);

    /**
    * 分页查询
    */
    Map<String,Object> pageList(int offset, int pagesize);

}
